<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<title>Document</title>
	<script src="./js/jquery.min.js"></script>
	<script src="./js/layer/layer.js"></script>
</head>
<body>
<div style="width: 300px;height: 5000px;"></div>
<script>

layer.open({
	type:1,
	content:'自定义内容',
	title:['自定义标题','color:red;'],
	// time:2000,
	btn:['一个按钮','第二个'],
	icon:2,
	maxmin:true,
	skin:'layui-layer-lan',
	area: ['300px','300px'],
	// offset:['200px','100px'],
	offset:'l',
	// closeBtn:0,
	// shade:0.9,
	shade:[0.5,'#f00'],
	anim:1,
	isOutAnim:false,
	fixed:false,
	// resize:false,
	resizing: function(layero){
	  console.log('拖动了');
	},
	scrollbar:false,//是否允许浏览器出现滚动条

});
</script>
	
</body>
</html>